package com.gist.cithub.service.feign;
import com.gist.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
//远程调用相关，详细看谷粒商城
@FeignClient("cithub-user")
@Service
public interface UserFeignService {
    @RequestMapping("user/information/getUserName/{id}")
    public R getUserNameById(@PathVariable("id") Integer id);
    @RequestMapping("/user/information/test")
    public R test();
}